﻿<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
    <title>DocAssist</title>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
    <meta name="viewport" content="width=device-width" />
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    <script type = "text/javascript">
        $(document).ready(function getPage(i) {

            var ouverture_h3 = "<h3>";
            var fermeture_h3 = "</h3>";

            var path = window.location.pathname;
            var nb = path.lastIndexOf("/");
                        
            if (nb == 0)
            {
                var url = "Accueil";
            }

            else
            {
                var url = path.substr(6, 10);
            }

            document.getElementById('test').innerHTML = ouverture_h3 + url + fermeture_h3;

        })

    </script>
    @Styles.Render("~/Content/bootstrap")
    @Styles.Render("~/Content/css")
    @Styles.Render("~/Content/javascript.js")
    @Styles.Render("~/Content/style.css")
    @Scripts.Render("~/bundles/modernizr")
    
</head>
<body data-ng-app="main" data-ng-controller="RootController">
    <!--[if lt IE 7]>
            <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
        <![endif]-->
    @RenderPage("~/Views/Shared/Header.cshtml")
    @RenderPage("~/Views/Shared/PageName.cshtml")
    <div class="container">
        @RenderBody()
    </div>
    <div style="padding-top:30px;"></div>
    @RenderPage("~/Views/Shared/Footer.cshtml")
    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/scripts/bootstrap.min.js")
    @Scripts.Render("~/bundles/angular")
    @Scripts.Render("~/bundles/app")
    @RenderSection("scripts", required: false)
</body>
</html>
